Mollie\WooCommerce\Settings\Settings C

Total Complexity 115
Dependencies 10
Dependents 18
Total lines 571
Lines of code 390
Logical lines of code 242
Comment lines 137
Methods 34
Properties 7

Methods 34

Method Rating Maintainability Complexity Lines of code
processAdminOptionCustomLogo()
A
50 10 25
validateUploadedFile()
A
46 8 36
processAdminOptionSurcharge()
A
55 8 18
extractValidLanguageCode()
S
55 7 20
adminOptions()
S
52 6 22
mollieWooCommerceMerchantProfileId()
S
56 6 19
updateMerchantIdOnApiKeyChanges()
S
56 6 16
getApiKey()
S
61 7 10
browserLanguage()
S
55 5 18
processUploadedFile()
S
55 5 17
multiSelectCountry()
S
46 3 45
processSettings()
S
59 4 14
getPluginStatus()
S
55 3 17
getCurrentLocale()
S
67 4 7
getPaymentLocale()
S
66 4 8
getConnectionStatus()
S
59 3 14
isOrderApiSetting()
S
73 3 4
getPaymentConfirmationCheckTime()
S
63 2 11
updateGatewaySettings()
S
74 2 4
getPaymentLocaleSetting()
S
72 2 5
getSettingId()
S
64 2 9
isTestModeEnabled()
S
73 2 4
getOrderStatusCancelledPayments()
S
72 2 5
mollieWooCommerceMerchantProfile()
S
75 1 4
__construct()
S
65 1 9
getPluginId()
S
82 1 3
updateMerchantIdAfterApiKeyChanges()
S
75 1 4
getLogsUrl()
S
80 1 3
cleanDb()
S
82 1 3
shouldStoreCustomer()
S
78 1 3
processAdminOptionCreditcardSelector()
S
81 1 3
generalFormFields()
S
75 1 4
getGlobalSettingsUrl()
S
82 1 3
isDebugEnabled()
S
78 1 3